<?php

namespace app\modules\admin\services;

use app\common\services\BaseService;
use app\models\GoodsOrderCredential;

class GoodsOrderCredentialService extends BaseService{

    /**
     * 获取信息
     * @param $order_id
     * @return GoodsOrderCredential[]
     */
    public static function getInfoById($order_id){
        return GoodsOrderCredential::findAll(['order_id'=>$order_id]);
    }
}